<%@ page contentType="text/html;charset=utf-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title><tiles:insertAttribute name="title" ignore="true" /></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
    <link href="<%=request.getContextPath()%>/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet"
          media="screen">
</head>
<body>
<script src="http://code.jquery.com/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/resources/jquery/jquery.maphilight.js"></script>
<script src="<%=request.getContextPath()%>/resources/bootstrap/js/bootstrap.min.js"></script>

<tiles:insertAttribute name="header" />
<div class="container-fluid">
    <div class="row-fluid">
        <tiles:insertAttribute name="left" />

        <tiles:useAttribute name="right" id="right"/>
        <c:if test="${!empty right}">
            <div class="span8">
        </c:if>
        <c:if test="${empty right}">
            <div class="span10">
        </c:if>
        <tiles:insertAttribute name="body" />
        </div>

        <tiles:insertAttribute name="right" />
        <tiles:insertAttribute name="footer" />
    </div>
</div>


</body>
</html>